package com.tjetc.mapper;

import com.tjetc.domain.CloseApply;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CloseApplyMapper {
    List<CloseApply> list();

    CloseApply selectByPrimaryKey(Integer id);

    void updateByPrimaryKey(CloseApply apply);

    @Insert("insert into close_apply (scheduling_id,`desc`,time) values (#{schedulingId},#{desc},#{time});")
    int add(CloseApply closeApply);
}
